/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Decorator5;

/**
 *
 * @author Marcel
 */
public class BordaInferior extends Decorator {

    public BordaInferior(Component c) {
        super(c);
    }

    public void draw() {
        super.c.draw();
        drawBordaInferior();
    }

    private void drawBordaInferior() {
        for (int i = 0; i < 10; i++) {
            System.out.print("8");
        }
        System.out.println("");
    }
}
